Skip to content

Conversation

@michaelsstuff
Copy link

Hi,

  1. just changed which to command -v -> https://github.com/koalaman/shellcheck/wiki/SC2230
  2. PGREP was overwritten. didnt hurt as it never got called again, but still
  3. replaced if in if loop with more elif

using command -v instead of which 
use single if elif loop, instead of nested loops
dont overwrite PGREP
command -v isntead of which
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant